package com.lxmes.gs.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxmes.gs.domain.ProjectApproval;

/**
 * 项目立项Service接口
 * 
 * @author wdf
 * @date 2023-04-24
 */
public interface IProjectApprovalService extends IService<ProjectApproval>{
    /**
     * 查询项目立项
     * 
     * @param id 项目立项主键
     * @return 项目立项
     */
    public ProjectApproval selectProjectApprovalById(Long id);

    /**
     * 查询项目立项列表
     * 
     * @param projectApproval 项目立项
     * @return 项目立项集合
     */
    public List<ProjectApproval> selectProjectApprovalList(ProjectApproval projectApproval);

    /**
     * 新增项目立项
     * 
     * @param projectApproval 项目立项
     * @return 结果
     */
    public int insertProjectApproval(ProjectApproval projectApproval);

    /**
     * 修改项目立项
     * 
     * @param projectApproval 项目立项
     * @return 结果
     */
    public int updateProjectApproval(ProjectApproval projectApproval);

    /**
     * 批量删除项目立项
     * 
     * @param ids 需要删除的项目立项主键集合
     * @return 结果
     */
    public int deleteProjectApprovalByIds(Long[] ids);

    /**
     * 删除项目立项信息
     * 
     * @param id 项目立项主键
     * @return 结果
     */
    public int deleteProjectApprovalById(Long id);
    /**
     * 导入项目立项信息
     *
     * @return 结果
     */
    String imporIteminfo(List<ProjectApproval> projectApprovalList, boolean updateSupport);

    /**
     * 审核项目立项
     * @param ids
     * @return
     */
    int auditProjectApproval(Long[] ids);
}
